FROM ii19910410/java_jdk:1.8
MAINTAINER huwei "3313749341@qq.com"  
VOLUME /tmp  
ADD application-service.jar app.jar
RUN sh -c "touch /app.jar" && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone && echo "export LC_ALL=zh_CN.UTF-8"  >>  /etc/profile
ENV LANG="en_US.utf8"
ENTRYPOINT ["java","-Xmx512m" ,"-Xms128m" ,"-Xmn20m" ,"-Xss256k" ,"-XX:ParallelGCThreads=2","-jar", "/app.jar"]  
EXPOSE 9293